package com.example.floristshop.utils;

import com.example.floristshop.R;

public class UserImageUtil {
    public static int id_to_src(int image_id) {
        int src;
        switch (image_id) {
            case 0:
                src = R.mipmap.user_image0;
                break;
            case 1:
                src = R.mipmap.user_image1;
                break;
            case 2:
                src = R.mipmap.user_image2;
                break;
            case 3:
                src = R.mipmap.user_image3;
                break;
            case 4:
                src = R.mipmap.user_image4;
                break;
            default:
                src = R.mipmap.user_image0;
                break;

        }
        return src;
    }
}
